import request from "../../utils/request";

export function submitFirstLog(query){
    return request({
        url: '/api/visitLog',
        method: 'post',
        data: query
    })
}

export function deleteById(query){
    return request({
        url: '/api/visitLog/delete/'+query,
        method: 'get'
    })
}

export function multiDelete(query){
    return request({
        url: '/api/visitLog/deletebyId',
        method: 'post',
        data: query
    })
}

export function appointFirstVisit(query,teacherId){
    return request({
        url: '/api/visitLog/status/inprogress/'+query+'/'+teacherId,
        method: 'get'
    })
}


export function getMyFirstlog(id){
    return request({
        url: '/api/visitLog/getStuVisitLog',
        method: 'get',
        params:{stuId:id}
    })
}
